package com.JZ.QM.feign;

import com.JZ.QM.common.utils.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author: cyc
 * @email cyc@gmail.com
 * @date: 2020/7/6 11:36
 */
@FeignClient("data-service")
public interface CombinationDynamicInfoFeignService {
    //对组合的动态信息进行更新
    @RequestMapping("/combinationDynamicInfo/updateCombinationDynamicInfo")
    CommonResult updateCombinationDynamicInfo(@RequestParam("comBaseId") Long comBaseId,
                                              @RequestParam("collectNum") Integer collectNum,
                                              @RequestParam("visitNum") Integer visitNum,
                                              @RequestParam("transactionNum") Integer transactionNum,
                                              @RequestParam("purchaseNum") Integer purchaseNum);
}
